#!/bin/sh
protoc \
  -I=. \
  -I=${GOPATH}/src \
  -I=${GOPATH}/src/github.com/gogo/protobuf/protobuf \
  --gogofaster_out=plugins=grpc:./ \
  --db_out=,Mgoogle/protobuf/descriptor.proto=github.com/gogo/protobuf/protoc-gen-gogo/descriptor:./ \
  --svc_out=,Mgoogle/protobuf/descriptor.proto=github.com/gogo/protobuf/protoc-gen-gogo/descriptor:./ \
   *.proto

protoc-go-inject-tag -input=./user.pb.go